home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1992 June: ROMin Holiday / ADC Developer CD (1992-06) (''ROMin Holiday'')_iso / Developer Connection - 06-1992.iso / Developer Essentials / DTS Sample Code / Macintosh Sample Code / SCN (MPW) / SCN.002.TESample < prev    next >
Encoding:
Text File  |  1990-01-16  |  3.1 KB  |  68 lines  |  [TEXT/MPS ]

  1. Macintosh
  2. Sample Code Notes
  3. _____________________________________________________________________________
  4.                                                   Developer Technical Support
  5.  
  6. #2:    TESample
  7.  
  8. Written by:    Mark Bennett, Rick Blair, and Dave Radcliffe
  9.  
  10. Versions:           1.00                        August 1988
  11.                     1.01                        November 1988
  12.                     1.02                        April 1989
  13.                     1.03                        June 1989
  14.  
  15. Components:         TESample.p                  June 1, 1989
  16.                     TESample.c                  June 1, 1989
  17.                     TESampleGlue.a           o  June 1, 1989
  18.                     TESample.r                  June 1, 1989
  19.                     TESample.h                  June 1, 1989
  20.                     PTESample.make           o  June 1, 1989
  21.                     CTESample.make           o  June 1, 1989
  22.                     TESampleGlue.s          oo  June 1, 1989
  23.                     TESampleAUX.r           oo  June 1, 1989
  24.                     Makefile                oo  June 1, 1989
  25.                         MPW Only    o    A/UX Only    oo 
  26. _____________________________________________________________________________
  27.  
  28. Major changes since 1.0
  29. Revamped the way that memory availability is checked and handled 
  30. at initialization.  Substantially changed the way windows are 
  31. closed.  Added an error message dialog to better inform users, and 
  32. improved error handling in general.  Finally, put a funny hack 
  33. into the C version so we could call _PurgeSpace under MPW 2.0.2.
  34.  
  35. Search for "1.01" in the code to find all the specific changes.
  36.  
  37. Major changes since 1.01
  38. Removed all dependencies on MPW 2.0; this version requires MPW 3.0 
  39. or later.  Improved TrapAvailable to handle differences between 
  40. machines prior to the Macintosh II and the Macintosh II and later 
  41. models.
  42.  
  43. Search for "1.02" in the code to find all the specific changes.
  44. _____________________________________________________________________________
  45.  
  46. TESample is an example application that demonstrates how to
  47. initialize the commonly used Toolbox managers, operate
  48. successfully under MultiFinder, handle desk accessories, and
  49. create, grow, and zoom windows.  It demonstrates fundamental
  50. TextEdit toolbox calls and TextEdit automatic scrolling, and
  51. it shows how to create and maintain scroll bar controls.
  52.  
  53. It does not, by any means, demonstrate all the techniques you need 
  54. for a large application.  In particular, TESample does not cover 
  55. exception handling, multiple windows or documents, sophisticated 
  56. memory management, printing, or undo, all of which are vital parts 
  57. of a normal full-sized application.
  58.  
  59. This application is an example of the form of a Macintosh 
  60. application; it is not a template.  It is not intended to be used 
  61. as a foundation for the next world-class, best-selling, 600K 
  62. application.  A stick figure drawing of the human body may be a 
  63. good example of the form for a painting, but that does not mean it 
  64. should be used as the basis for the next Mona Lisa.
  65.  
  66. We recommend that you review this program or Sample before 
  67. beginning a new application.
  68.